package com.zn.opit.videoframe.exception;

import lombok.Getter;

@Getter
public enum VideoFrameExceptionTypes implements ExtExceptionInfo {

    NOT_SUPPORTED_FILE_TYPE("NOT_SUPPORTED_FILE_TYPE", "不支持的文件格式"),
    FILE_CREATE_FAILED("FILE_CREATE_FAILED", "文件项创建失败"),
    GET_VIDEO_FRAME_FAILED("GET_VIDEO_FRAME_FAILED", "获取视频帧失败"),
    ;

    final String code;
    final String msg;

    VideoFrameExceptionTypes(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
